import {createStore, combineReducers, applyMiddleware} from 'redux';

import publics from './public/reducer';
import brandIntroduction_store from './brandIntroduction/reducer';
import proArticles from './articles/reducer';
import proMainDetails from './mainDetails/reducer';
import proClassification from './classification/reducer';
import thunk from 'redux-thunk';

let store = createStore(
    combineReducers({ publics, brandIntroduction_store, proArticles, proMainDetails, proClassification}),
    applyMiddleware(thunk)
)

export default store;